package com.pineapple.module.core.planting.domain;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class PlantingModel {
	private PlantingCriteria criteria = new PlantingCriteria();
	private List<PlantingSearch> lstPlantingSearch = new ArrayList<PlantingSearch>();
	private String page;
	private Planting planting = new Planting();
	private Map<String,String> lstPineapple = new HashMap<String,String>();
	private Map<String,String> lstArea = new HashMap<String,String>();


	public String getCriteriaKey() {
		return criteria.getCriteriaKey();
	}
	public void setCriteriaKey(String criteriaKey) {
		criteria.setCriteriaKey(criteriaKey);
	}

	public List<PlantingSearch> getLstPlantingSearch() {
		return lstPlantingSearch;
	}

	public void setLstPlantingSearch(List<PlantingSearch> lstPlantingSearch) {
		this.lstPlantingSearch = lstPlantingSearch;
	}

	public String getPage() {
		return page;
	}
	public int getStart() {
		return criteria.getStart();
	}

	public void setStart(int start) {
		criteria.setStart(start);
	}

	public void setPage(String page) {
		this.page = page;
	}

	public Planting getPlanting() {
		return planting;
	}

	public void setPlanting(Planting planting) {
		this.planting = planting;
	}
	public PlantingCriteria getCriteria() {
		return criteria;
	}
	public void setCriteria(PlantingCriteria criteria) {
		this.criteria = criteria;
	}
	public Map<String, String> getLstPineapple() {
		return lstPineapple;
	}
	public void setLstPineapple(Map<String, String> lstPineapple) {
		this.lstPineapple = lstPineapple;
	}
	public Map<String,String> getLstArea() {
		return lstArea;
	}
	public void setLstArea(Map<String,String> lstArea) {
		this.lstArea = lstArea;
	}
	public int getLinePerPage() {
		return criteria.getLinePerPage();
	}

	public void setLinePerPage(int linePerPage) {
		criteria.setLinePerPage(linePerPage);
	}
	public long getTotalResult() {
		return criteria.getTotalResult();
	}

	public void setTotalResult(long totalResult) {
		criteria.setTotalResult(totalResult);
	}
}
